<?php
// 安装Tesseract OCR库:
//进入ch14项目
// composer require thiagoalessio/tesseract_ocr

require_once 'vendor/autoload.php';

use thiagoalessio\TesseractOCR\TesseractOCR;
echo (new TesseractOCR('hg.jpg'))->run();